
package trim.differentmaterials.generator.core;

import trim.differentmaterials.core.*;
import trim.differentmaterials.coefficients.*;

/**
 *
 * @author Podorov Alexander
 */

public abstract class BasicGapBestPattern implements GapBestPattern
{
    protected final int materialCount;
    protected final int formatCount;

    protected final double[] dualVariables;
    protected final Coefficients coefficients;

    public BasicGapBestPattern(TrimCore core, Coefficients coefficients)
    {
        materialCount = core.getMaterialCount();
        formatCount = core.getFormatCount();

        dualVariables = core.getDualVariables();
        this.coefficients = coefficients;
    }   
}
